package com.lelouch.bestpractice.mongorepository.repository;

import com.lelouch.bestpractice.mongorepository.domain.UserEntity;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface UserEntityRepository extends MongoRepository<UserEntity,String> {

    UserEntity findByUserName(String userName);
}
